from flask import Flask
from StudentController import student_blueprint
from UserController import user_blueprint


app = Flask(__name__)

# 注册学生相关路由
app.register_blueprint(student_blueprint, url_prefix='/student')

# 注册用户相关路由
app.register_blueprint(user_blueprint, url_prefix='/user')

if __name__ == '__main__':
    app.run(debug=True, port=8888)
